#pragma once

#include <string>

namespace nflt {

	class Word
	{
	private:
		int index_;
		std::string data_;

	public:
		Word();
		Word(const std::string& data, int index);
		virtual ~Word();

		int tokenCnt();

		void setData(const std::string& data) { data_ = data; }
		const std::string getData() { return data_; }

		void setIndex(int index) { index_ = index; }
		int getIndex() { return index_; }
	};

}